package com.LFLWZ.beans.Vo;

import com.LFLWZ.beans.POJO.Comments;

import java.io.Serializable;
import java.util.List;

/**
 * 评论表(Comments)实体类
 *
 * @author lujum
 * @since 2020-12-25 02:07:45
 */
public class CommentsByReplyVo implements Serializable {
    private static final long serialVersionUID = 941298589568530161L;

    private Integer id;
    /**
     * 评论类型
     */
    private String type;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 评论时间
     */
    private String createtime;
    /**
     * 评论的图片
     */
    private String pics;
    /**
     * 当前评论者的id
     */
    private Integer uid;
    /**
     * 被评论的id
     */
    private Integer aid;
    private String name;
    private String avatar;

    private List<Comments> commentsByReply;

    public List<Comments> getCommentsByReply() {
        return commentsByReply;
    }

    public void setCommentsByReply(List<Comments> commentsByReply) {
        this.commentsByReply = commentsByReply;
    }

    public CommentsByReplyVo(String type, Integer uid, Integer aid) {
        this.type = type;
        this.uid = uid;
        this.aid = aid;
    }
    public CommentsByReplyVo(){

    }
    public CommentsByReplyVo(String type, Integer uid, Integer aid, String content) {
        this.type = type;
        this.uid = uid;
        this.aid = aid;
        this.content=content;
    }
    /**
     * 当前评论的评分
     */
    private Integer score;

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

}